﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using TracedReality.Logging;

namespace Interface.Logging
{
    /// <summary>
    /// A receiver that outputs to the Console.
    /// </summary>
    public class ConsoleLog : LogReceiver
    {
        /// <summary>
        /// Receive a string and write it to the Console.
        /// </summary>
        /// <param name="str">String to output.</param>
        public void giveString(string str)
        {
            Console.WriteLine(str);
        }
    }
}
